CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt
TARGET = CSB
##### 打包lib #####
TEMPLATE = lib
DESTDIR = ../../lib
##### 测试用例 #####
#TEMPLATE = app
#SOURCES += main.cpp

SOURCES += \
    ../../src/list.cpp \
    ../../src/laser.cpp \
    ../../src/err.cpp \
    ../../src/emitter.cpp \
    ../../src/ele.cpp \
    ../../src/csobj.cpp \
    ../../src/csnode.cpp \
    ../../src/csb.cpp \
    ../../src/convex_polygon.cpp \
    ../../src/action.cpp \
    ../../src/csbmath.cpp

HEADERS += \
    ../../include/action.h \
    ../../include/csb.h \
    ../../include/csobj.h \
    ../../include/emitter.h \
    ../../include/err.h \
    ../../include/laser.h \
    ../../include/types.h \
    ../../include/list.h \
    ../../include/utils.h \
    ../../include/csnode.h \
    ../../include/convex_polygon.h \
    ../../include/coord.h \
    ../../include/ele.h \
    ../../include/config.h \
    ../../include/csbmath.h

INCLUDEPATH += ../../include
LIBS += -lm
QMAKE_CXXFLAGS += -ffast-math

